<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="post" action="/upload" enctype="multipart/form-data">
    姓名：<input type="text" name="userName"><br>
    头像: <input type="file" name="imgFile" /><br>
    <input type="submit" value="提交表单" />
</form>
</body>
</html>